package com.qf.service;

import com.qf.pojo.Role;

import java.util.List;

public interface RoleService {
    List<Role> getAllRolesByUsername(String username);
    Role findRoleByrid(int rid);
    int add(Role role);
    int update(Role role);
    int delete(int rid);
    List<Role> getAllRole();
}
